<?
//为了测试hotmail的
//为了测试hotmail的
//为了测试hotmail的
//为了测试hotmail的
//为了测试hotmail的



//这个是查看当前客户列表中，看看那些是已经超时的，超时的就自动发送邮件。
include_once("../../config.php");


//只在登录的时候需要再引入一次。登录之后就会产生session，会在config中引入
include_once (ROOT_PATH_."/connection.php");




//引入页面需要设置以下的值才能成功发送
    $_mail_setting['smtp_account']  = $mail_account['smtp_account'];
    $_mail_setting['smtp_password'] = $mail_account['smtp_password'];
    $_mail_setting['smtp_host']     = $mail_account['smtp_host'];
    $_mail_setting['smtp_port']     = $mail_account['smtp_port'];
    $_mail_setting['title']         = "这是我的hotmail";
    $_mail_setting['content']       = "say hello";
    $_mail_setting['receiver']      = "yuan";
    $_mail_setting['mail_email']    = "mail@circledesign.cn";



print_r2($_mail_setting);



//电子邮件发送程序
//引入发送email必须的文件
require (ROOT_PATH_."/application/PHPMailer/sendmail_for_dm.php");
echo "<br/>";

?>



